#include "junix.h"

class base {
		  public:
					 int i;
		void print() {
		std::cout<<i<<" "<<t<<std::endl;
	}
		  private:
					 int t;
};

class derived:public base {
		  public:
				derived():i(100),t(22){}
				int t;
		  private:
					 int i;
};

int main (){
		  derived d;
		  base b ;
		  b = d;
		 b.print();
}
